package com.test.event;

import org.springframework.context.ApplicationEvent;

/**
 * 邮件发送事件
 *
 * @date 2024/3/8 14:24
 * @author fanxin
 * @since 1.0
 */
public class EmailSendEvent extends ApplicationEvent {

    private String address;

    private String content;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public EmailSendEvent(Object source, String address, String content) {
        super(source);
        this.address = address;
        this.content = content;
    }
}
